package cn.qiyu5522.tk_ems.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ProjectName: tk_ems
 * @Package: cn.qiyu5522.tk_ems.entity.vo
 * @ClassName: DepartmentVo
 * @Author: [Toneky]
 * @Date: 2023/2/4 17:47
 * @Version: V1.0
 **/
@Data
@ApiModel("院系VO对象")
public class DepartmentVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "院系名称")
    @NotBlank(message ="姓名不能为空")
    private String name;
    @NotBlank(message ="院系热线不能为空")
    private String phone;
}
